package com.recruit.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.AJAXResultMessage;
import com.recruit.entity.Recruit;


public interface IRecruitService {
	public AJAXResultMessage saveOrUpdate(Recruit recruit);
	
	public void delete(Recruit recruit);
	public Recruit findOne(Long id);
	public List<Recruit> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<Recruit> findAll(Specification<Recruit> spec, Pageable pageable);	
}
